package com.m3958.firstgwt.client.jso;

import com.m3958.firstgwt.client.jso.BaseModelJso;



public class SchemaFieldJso extends BaseModelJso {
	  // Overlay types always have protected, zero-arg ctors
	  protected SchemaFieldJso() { }
	  public final native String getName()/*-{return this.name;}-*/;
	  public final native void setName(String name)/*-{this.name = name;}-*/;
	  public final native String getDbfName()/*-{return this.dbfName;}-*/;
	  public final native void setDbfName(String dbfName)/*-{this.dbfName = dbfName;}-*/;	  
	  public final native String getDataType()/*-{return this.dataType;}-*/;
	  public final native void setDataType(String dataType)/*-{this.dataType = dataType;}-*/;
	  public final native boolean isRequired()/*-{return this.required ? true : false}-*/;
	  public final native void setRequired(boolean required)/*-{this.required = required;}-*/;
	  public final native int getPosition()/*-{return this.position ? this.position : 0}-*/;
	  public final native void setPosition(int position)/*-{this.position = position;}-*/;
	  public final native int getWidth()/*-{return this.width ? this.width : 0}-*/;
	  public final native void setWidth(int width)/*-{this.width = width;}-*/;
	  public final native boolean isSortable()/*-{return this.sortable ? true : false}-*/;
	  public final native void setSortable(boolean sortable)/*-{this.sortable = sortable;}-*/;
	  public final native int getColomnSpan()/*-{return this.colomnSpan ? this.colomnSpan : 1}-*/;
	  public final native void setColomnSpan(int width)/*-{this.colomnSpan = colomnSpan;}-*/;
}
